package com.sugar.psych.assessment.module.business.controller.admin.usertreeholechatrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 树洞AI聊天会话新增/修改 Request VO")
@Data
public class UserTreeHoleChatRecordSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18649")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27654")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "会话标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "会话标题不能为空")
    private String title;

}